#-------------------------------------------------------------------
# This file is part of the CMake build system for ogre-aml (Advanced mesh loader for Ogre 3D)
#-------------------------------------------------------------------

# Customise what to build
option (SETUP_OGREAML_BUILD_DEMO "Build OgreAML Demo Application" TRUE)

# customize build mode
option (SETUP_OGREAML_BUILD_SHARED_LIBRARY "Build OgreAML shared library" TRUE)

#setup build mode
if (SETUP_OGREAML_BUILD_SHARED_LIBRARY)
	set(OGREAML_LIB_TYPE SHARED)
	set(OGREAML_STATIC_LIB FALSE)
else()
	set(OGREAML_LIB_TYPE STATIC)
	set(OGREAML_STATIC_LIB TRUE)
endif (SETUP_OGREAML_BUILD_SHARED_LIBRARY)

# generate OgreAMLConfig.h
configure_file(${CMAKE_HOME_DIRECTORY}/CMake/Templates/OgreAMLConfig.h.in ${CMAKE_BINARY_DIR}/include/OgreAMLConfig.h)
